//
//  SchoolDetailTitleView.swift
//  HoneyBee
//
//  Created by point on 2018/6/10.
//  Copyright © 2018年 point. All rights reserved.
//

import UIKit

class SchoolDetailTitleView: UIView {
    
     var titleLabel: UILabel = UILabel()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupUI()
        self.backgroundColor = UIColor.white
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}

extension SchoolDetailTitleView {
    fileprivate func setupUI(){
        self.addSubview(titleLabel)
        titleLabel.snp.makeConstraints { (make) in
            make.left.equalTo(self).jOffset(5)
            make.centerY.equalTo(self)
        }
        titleLabel.text = "家长点评"
    }
}
